<?php

/**
 * Modal window for elements list
 * Used by element/add_element/ when the user clicks on the "Add Element" button
 *
 */
?>

	
<!-- Existing elements -->
<h2 class="main elements"><?= lang('ionize_title_add_content_element') ?></h2>


<ul id="elementAddContainer" class="mt20"></ul>
	


<script type="text/javascript">

	ION.HTML('element_definition/get_element_list', {'parent':'<?= $parent ?>', 'id_parent': '<?= $id_parent ?>'}, {'update': 'elementAddContainer' });
	
</script>
